package com.jy.adscm.declarationForm.bean;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 报单的过程记录期限管理
 * </p>
 *
 * @author yyy
 * @since 2019-01-26
 */
public class JyFormTermManage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 报单ID
     */
    private Long formId;
    /**
     * 总期限
     */
    private Integer totalTerm;
    /**
     * 剩余期限
     */
    private Integer surplusTerm;
    /**
     * 状态（0：正在时间监管，1：已经完成无需监管，2：已经过期，报单已经废弃）
     */
    private Integer formStatus;
    /**
     * 创建日期
     */
    private Date createDate;
    /**
     * 完成日期
     */
    private Date overDate;

    public Date getOverDate() {
        return overDate;
    }

    public void setOverDate(Date overDate) {
        this.overDate = overDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFormId() {
        return formId;
    }

    public void setFormId(Long formId) {
        this.formId = formId;
    }

    public Integer getTotalTerm() {
        return totalTerm;
    }

    public void setTotalTerm(Integer totalTerm) {
        this.totalTerm = totalTerm;
    }

    public Integer getSurplusTerm() {
        return surplusTerm;
    }

    public void setSurplusTerm(Integer surplusTerm) {
        this.surplusTerm = surplusTerm;
    }

    public Integer getFormStatus() {
        return formStatus;
    }

    public void setFormStatus(Integer formStatus) {
        this.formStatus = formStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "JyFormTermManage{" +
                "id=" + id +
                ", formId=" + formId +
                ", totalTerm=" + totalTerm +
                ", surplusTerm=" + surplusTerm +
                ", formStatus=" + formStatus +
                ", createDate=" + createDate +
                '}';
    }
}
